package Lesson16Homework;

public class Task 
{
	private String name;
	private int workingHours;
	
	void getTaskInfo()
	{
		System.out.println("===== TASK INFO =====");
		System.out.println("Task name: "+ getTaskName());
		System.out.println(this.name + " task hours left: " + getWorkinHours());
		System.out.println();
	}
	
	
	String getTaskName()
	{
		return this.name;
	}
	
	int getWorkinHours()
	{
		return this.workingHours;
	}
	
	
	void setTaskName(String name)
	{
		this.name = name;
	}
	
	void setTaskHours (int workingHours)
	{
		this.workingHours = workingHours;
	}
	
	
}